<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="common/baseCss.jsp"%>
<link rel="stylesheet" type="text/css" href="manager/js/commonHead/adminHead.css" />
<title>统一账户管理后台</title>
<style>
.navbar-wrapper{
	position: absolute;
    z-index: 80;
}
.Hui-aside{
    z-index: 99;
    position: absolute;
    top: 0;
}
.pl-200{
	padding-left:200px;
}
.adream-logo{
	width:100%;
	height:130px;
	text-align:center;
}
.adream-logo img{
	/* width: 6.64rem;
    height: 4.71rem; */
    margin-top: 40px;
    width:75%;
}
.ad-bc{
	background-color: #2C3039;
}
#Hui-userbar{
	right:0px;
	color: #2C3039;
}
.Hui-aside .menu_dropdown li a{
	border-bottom:unset;
}

#menu-admin li a:hover{
	color:white !important;
	background: #000000;
}

/* dujingjing  2021-1-25  */
.Hui-aside .menu_dropdown li{
display:flex;
padding-left: 20px;
cursor: pointer;

}
.myIcon{
color:#96989C}
.menu_dropdown li:hover .myIcon,.Hui-aside .menu_dropdown li.current .myIcon{color:#fff;}
</style>
</head>
<body>
	<header class="navbar-wrapper">
		<div class="navbar navbar-fixed-top">
			<div class="container-fluid cl pl-200">
				<!-- <span class="logo navbar-logo f-l mr-10 hidden-xs">统一账户后台管理页面</span>  -->
				<div class="admintabInit"></div>
				<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
					<ul class="cl">
						<li class="dropDown dropDown_hover">
							<a class="dropDown_A">${user.uname}<i class="Hui-iconfont">&#xe6d5;</i></a>
							<ul class="dropDown-menu menu radius box-shadow">
								<li><a onClick="layer_show('个人信息','personalChangeInfoPage','','')">个人信息</a></li>
								<li><a onclick="layer_show('修改密码','personalChangePwdPage','','')">修改密码</a></li>
								<li><a id="logout">退出</a></li>
							</ul>
						</li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<aside class="Hui-aside ad-bc">
	<div class="menu_dropdown bk_2" id="columns">
		<div class="adream-logo">
			<img src="manager/images/adreambox_logo.png">
		</div>
		<dl id="menu-admin">
			<c:forEach items="${resources}" var="resource">
				<c:if test="${not empty resource.resUrl}">
					<li>
						<i class="iconfont myIcon">${resource.iconCode}</i>

						<a data-href="${resource.resUrl}" data-title="${resource.resName}" href="javascript:void(0)">${resource.resName}</a>
					</li>
				</c:if>
			</c:forEach>
		  <%-- 	<c:if test="${taskResource!=null and not empty taskResource.resUrl}">
				<li>
					<a class="resources" data-href="${taskResource.resUrl}" data-title="任务管理" href="javascript:void(0)">任务管理</a>
				</li>
			</c:if> --%>
		</dl>
	</div>
	</aside>
	<div class="dislpayArrow hidden-xs">
		<a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
	</div>
	<section class="Hui-article-box">
		<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
			<div class="Hui-tabNav-wp">
				<ul id="min_title_list" class="acrossTab cl">
					<li class="active">
						<span title="欢迎页" data-href="welcome">欢迎页</span>
						<em></em>
					</li>
				</ul>
			</div>
			 <div class="Hui-tabNav-more btn-group">
				<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;">
					<i class="Hui-iconfont">&#xe6d4;</i>
				</a>
				<a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;">
					<i class="Hui-iconfont">&#xe6d7;</i>
				</a>
			</div> 
		</div>
		<div id="iframe_box" class="Hui-article">
			<div class="show_iframe">
				<div style="display: none" class="loading"></div>
				<iframe scrolling="yes" frameborder="0" src="welcome"></iframe>
			</div>
		</div>
	</section>
	<div class="contextMenu" id="Huiadminmenu">
    	<ul>
        	<li id="closethis">关闭当前 </li>
        	<li id="closeall">关闭全部 </li>
    	</ul>
	</div>
	<%@ include file="common/baseJs.jsp" %>
	<script src="manager/js/plugin/jquery.contextmenu.r2.js"></script>
	<script type="text/javascript" src="manager/js/commonHead/adminHead.js"></script>
	<script src="manager/js/index.js"></script>
</body>
</html>